body, html {
    margin: 0;
    padding: 0;
    height: 100%; /* 确保 body 和 html 占满整个屏幕高度 */
}

.container {
    min-height: 100vh; /* 设置容器最小高度为视口高度 */
    display: flex;
    flex-direction: column; /* 从上到下排列内容 */
    justify-content: space-between; /* 内容均匀分布，底部按钮贴底 */
    padding: 16px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center; /* 确保标题居中 */
    padding: 8px 0;
}

.header h1 {
    font-size: 30px;
    margin: 0;
    text-align: center;
}

.back-btn {
    position: absolute; /* 让返回按钮脱离文档流 */
    left: 8px; /* 距离左侧 8px */
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.complaint-info, .complainant-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    background-color: #f1f1f1;
    border-radius: 4px;
    gap: 8px;
}

.info-row label {
    flex: 1;
    font-size: 14px;
}

.info-row select,
.info-row input {
    flex: 2;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
}

.description {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.textarea-container {
    position: relative;
    display: flex;
    align-items: center;
}

.textarea-container textarea {
    width: 100%;
    height: 80px;
    padding: 8px;
    padding-right: 40px; /* 为按钮预留空间 */
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: none;
}

.textarea-container .upload-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #0078d7;
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    width: 32px;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #0078d7;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}